const fs = require('fs')
const rs = fs.createReadStream('./1.txt', 'utf8')//可读流
rs.on('data', (chunk) => {
  console.log(chunk)
})
rs.on('end', () => {
  console.log('end')
})